package com.sundayfactory.workpaychart;

public class domain_Paylist extends MasterDomain{
    private String code;
    private String id;
    private String title;
    private String pay;
    private String year;
    private String workercode;
    public String getCode() {
        return code;
    }
    public void setCode(String code) {
        this.code = code;
    }
    public String getId() {
        return id;
    }
    public void setId(String id) {
        this.id = id;
    }
    public String getTitle() {
        return title;
    }
    public void setTitle(String title) {
        this.title = title;
    }
    public String getPay() {
	
	return pay;
    }
    public String getPayString(){
	int width = pay.length()%3;
	if(width == 0){
	    width = 3;
	}
        return pay.substring(0,width)+","+pay.substring(width);
    }
    public void setPay(String pay) {
        this.pay = pay;
    }
    public String getYear() {
        return year;
    }
    public void setYear(String year) {
        this.year = year;
    }
    public String getWorkercode() {
        return workercode;
    }
    public void setWorkercode(String workercode) {
        this.workercode = workercode;
    }
    
}
